Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silverstripe 5 compatibility #27

Merged

Conversation

robertvanlienden
Copy link
Contributor

@robertvanlienden robertvanlienden commented May 16, 2023

Hey there!

I've started working on SS5 compatibility for the elemental grid.
Decided to create a draft PR with my progress.
If I don't have time to finish this PR, I hope this PR will help you getting further if you are going to work on the SS5 compatibility.

What I've done yet;

  • Upgrading composer.json to be compatible with SS5 and Elemental 5.
  • Changed insertBefore because of API changes in SS5

Known issues/to-do

Front-end; silverstripe/silverstripe-elemental#1032

  • ReactApollo is not defined (error in console)
  • Upgrade to Node 18
  • Fix the following 31 errors and 1 warning after upgrade to Node 18 to make build work (fixed)
  • Fix webpack config
  • Make front-end working

Because of the API breaks in SS5 and Elemental 5, there needs to be an mayor release for this module to make it SS5 compatible.

@robertvanlienden
Copy link
Contributor Author

Put some work into this today.
Got Node updated, webpack config updated etc. etc.

Managed to get the yarn build working again, but decided to stop (for today) with this upgrade.

Good thing: Everything is ready to work on the front-end fixes for SS5 compatibility.
Less-good thing: This will require some more time, effort and love.

@rskuipers rskuipers changed the title Silverstripe 5 compatiblity Silverstripe 5 compatibility Jul 19, 2023
@robertvanlienden
Copy link
Contributor Author

@rskuipers did some commit with lots of fixes for front-end.
Seems that the most important things are working now, but there are some little bugs as mentioned below;

Known bugs

  • If you publish some page and after that add some block, some endless loop is triggered

@Dennisprins93 Dennisprins93 merged commit 2cab991 into wedevelopnl:main Jul 27, 2023
@robertvanlienden robertvanlienden deleted the silverstripe-5-compatiblity branch July 30, 2023 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants